﻿/*---------------------------------------------------------------------------------
-----------------***DaLianQianYi***-----------------------
-----------------作者：大连仟亿科技------------------------------------------------------
-----------------联系作者：www.qianyikeji.com----------------------------------
-----------------时间：2024/7/15 14:05:13------------------------------------------
----------------------------------------------------------------------------------*/


using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Donal.Xms.Model
{
    /// <summary>
    /// 差异价格设置 (spec_prices)实体
    /// </summary>
    [Serializable]
    public partial class spec_prices
    {
        public spec_prices()
        { }

        #region Model
        /// <summary>
        /// 自增ID
        /// </summary>
        public int id { set; get; } = 0;
        /// <summary>
        /// 溢价主体 0商品规格 1商品 2商品类别 
        /// </summary>
        public int is_goods { set; get; } = 0;
        /// <summary>
        /// 规格、商品或类别ID
        /// </summary>
        public int goods_product_category_id { set; get; } = 0;
        /// <summary>
        /// 溢价对象 0会员 1会员组
        /// </summary>
        public int is_user { set; get; } = 0;
        /// <summary>
        /// 用户组ID
        /// </summary>
        public int user_or_group_id { set; get; } = 0;
        /// <summary>
        /// 溢价方式 0 固定价格 1百分比
        /// </summary>
        public int price_type { set; get; } = 0;
        /// <summary>
        /// 显示价格
        /// </summary>
        public decimal price { set; get; } = 0;
        /// <summary>
        /// 状态
        /// </summary>
        public int status { set; get; } = 0;
        /// <summary>
        /// 优先级
        /// </summary>
        public int priority { set; get; } = 10;
        #endregion
    }
}


